const drawQrcode = require('../../../utils/weapp.qrcode.min');
const { base_url } = require('../../../../utils/config');

// pages/ewm/index/index.js
Page({

  /*** 页面的初始数据 */
  data: {

  },
  onJump() {  //  页面跳转
    wx.navigateBack();
  },
  /*** 生命周期函数--监听页面加载 */
  onLoad(options) {
    drawQrcode({
      width: 200,
      height: 200,
      canvasId: 'myQrcode',
      text: '/packageA/pages/ewm/detail/index'
    })
  },
  /*** 用户点击右上角分享 */
  onShareAppMessage() {

  }
})